package service


import (
	"time"
	"fmt"
	"math/rand"
)

//生成验证码
func GenerateVerifyCode(mobile string)string{
	r := rand.New(rand.NewSource(time.Now().UnixNano()))
	num:= r.Int63n(10000)
	vCode := fmt.Sprintf("%04v", num)
	return vCode
}

//验证验证码


func VeriftySmsCode(mobile string) error{
	return nil
}
